package cn.herlioner.service;

import java.util.List;

import cn.herlioner.dao.StudentDAO;
import cn.herlioner.dao.impl.StudentDAOImpl;
import cn.herlioner.pojo.Student;

public class StudentServiceImpl implements StudentService{
	Student student = new Student();;
	StudentDAO studentDAO = new StudentDAOImpl();
	List<Student> students;

	@Override
	public Student getstu(Long stunum) {
		student = studentDAO.get(stunum);
		Long str = student.getSpenum();
		System.out.println(str);
		return student;
	}

}
